DataConnector | ComponentOne
C1.AdoNet.D365S Assembly / C1.DataConnector.AdoNet Namespace / DbConnectionWrap<TInnerConnection,TInnerCommand,TInnerParameter> Class / GetSchema Method / GetSchema(String,String[]) Method
Specifies the name of the schema to return.
Specifies a set of restriction values for the requested schema.

In This Topic
    GetSchema(String,String[]) Method
    In This Topic
    Returns schema information for the data source of this System.Data.Common.DbConnection using the specified string for the schema name and the specified string array for the restriction values.
    Syntax
    'Declaration
     
    Public Overloads Overrides Function GetSchema( _
       ByVal collectionName As String, _
       ByVal restrictionValues() As String _
    ) As DataTable
    public override DataTable GetSchema( 
       string collectionName,
       string[] restrictionValues
    )

    Parameters

    collectionName
    Specifies the name of the schema to return.
    restrictionValues
    Specifies a set of restriction values for the requested schema.

    Return Value

    A System.Data.DataTable that contains schema information.
    See Also